home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
os2
/
mony_121.zip
/
README
< prev
Wrap
Text File
|
1996-05-28
|
9KB
|
237 lines
MONY README
The file includes a history of changes, followed by a brief description of Mony.
-----------
28-May-1996
1.21
MonySetPage no longer runs with interrupts disabled.
Added video refresh disable support (INT10,ah=12h,al=0|1,bl=36h). If you need
this and are using the mony_api module, add this routine or something similar:
// 12/bl=36 ----------
// Set refresh disable
//
// Select either disable (al=1) or enable (al=0) [Mony does -not- return al=12h]
ULONG MonyDisableRefresh (HFILE monyID, UCHAR disable) {
ULONG rc=0;
ULONG parmLen = sizeof(REGPACK);
REGPACK iREG;
iREG.ah = 0x12;
iREG.al = disable;
iREG.bl = 0x36;
rc = DosDevIOCtl(monyID,IOCTL_MONY,IOCTL_40TH,
&iREG,sizeof(REGPACK),&parmLen,
NULL,0,NULL);
return rc;
}
MONYPAGE.EXE:
Added MonyPage for simple page switching. For each video page installed at
DEVICE=MONY.SYS -p?, a button is enabled by which you can activate that page.
This way you can switch to any Mony-program page from one spot, easily. The
+/- button at the end is to disable video refresh (turns off/on the scan beam).
Switch options for MonyPage are:
-noAbout bypass version info message box
-cls clear all video pages at start
-min start minimized
-test fills buffer of pages after page0 with the page number
Doc update:
Set bit7=1 of video mode set (ah=0) to leave video memory as-is (mode=0x87),
or set al=255 for a fast video mode set (not recommended for initial sets).
-----------
21-Mar-1996
1.20
Extended evaluation period to double previous time (around 25 minutes).
Reduced filesize to under 4KB (25% less filling) by removing the useless
resource manager calls, and by streamlining data and code. The monydemo.exe
is slightly changed (monydemo.c).
Included are alternate mony_api.c and .h files for compilers that cannot handle
unnamed unions (REGPACK). The alternates are specifically for the emx/gcc
compilers, but they'll probably work with others, too. Contributions for other
compilers (Ada, etc.) are desired, but there must be no strings attached if
you want it included.
The license agreement has my definition of "Corporate Use" included.
-----------
17-Feb-1996
1.10
No exported changes.
-----------
01-Feb-1996
1.01
MONY$ reports as version 1.001.
WriteString and TTY output had been scrolling at row24/column80 rather
than at row25/column80.
Changed mony_api.h as indicated in that file.
-----------
25-Jan-1996
1.000
Topics covered include a description, requirements, installation
instructions, and availability. Additional coverage on use is in the
monydemo.c, mony_api.c, and mony_api.h files.
Description
-----------
MONY.SYS is an MDA device driver for OS/2. MDA, or monochrome display
adapater, also known as the Herc card, MGP, or just plain mono card, can
be used together with a color VGA, and both can run at the same time.
They can, that is, with proper support. You can't get this with a base
OS/2 install, so Mony was born (TJ's Mony).
Mony is designed for the OS/2 programmer, both application level programmer
and device driver programmer. The MDA BIOS (INT10 functions) are supported
by the Mony emulator, with a few extensions added for ease of use. For
example, WriteString is supported, as is ReadBlock and WriteBlock. Also,
up to 8 video pages can be used, and switched to and from instantly. This,
of course, is not calling the ROM BIOS, but is emulating those functions in
code.
Documentation is sourced in any INT10 BIOS specification. Only the MDA
BIOS is specifically supported, though several enhancements are provided.
Check out the mony_api.c file for most of the supported routines. Use
a INT10 reference for detailed specs.
The programming interface is DosDevIOCtl calls, but an easy-to-use API
(source included) is provided that simplifies use of all the functions.
For example, WriteString is as simple as:
ULONG MonyWriteString (HFILE monyID, PSZ strgPtr,
UCHAR page, UCHAR attr, UCHAR row, UCHAR col);
A demonstration program is included which covers just about all the calls
available for the application programmer. For device driver programmers,
a brief tutorial on how to access Mony from physical device drivers is
located at the start of the mony_api.c file. Everything you need to
evaluate Mony is included. Continued use beyond a short evaluation time
requires payment of less than $15.00 for the individual in a non-corporate
environment. Corporate (site) licenses are $299.50. Ordering instructions
are included in the !ORDER.FRM file, or simply send your vitals and payment
to: Cornel Huth/6402 Ingram Rd/San Antonio, TX 78238/USA. Refer to the
license agreement in the !order.frm file before using Mony.
Requirements
------------
- OS/2 Warp 3.0 or later (may work on earlier 2.x versions)
- Monochrome display adapter or compatible (MDA, MGP, Herc, etc.)
- Digital/TTL monochrome display monitor
The mono video subsystem must be the non-primary display system. In
other words, you are expected to have a VGA or similar video system
installed as the primary video subsystem. It is not expected, nor
desired, to use the OS/2 installation of a secondary display. OS/2
cannot make use of a secondary display concurrent with the primary
display. Mono VGA, or any VGA, cannot be used as a second monitor.
For performance reasons, a VLB or PCI primary video system is
recommended. Adding an 8-bit mono card has no effect whatsoever
on the performance of the VLB/PCI video card. However, adding an
8-bit card into the A0000-BFFFF region on an ISA (repeat ISA) bus
causes all cards on that bus in that region to revert to 8-bit mode.
So, if you don't have a VLB or PCI primary video card, you may not
desire the performance loss of your ISA-based video card. And again,
if you do have VLB or PCI primary video, disregard this paragraph since
it does not apply.
If you don't already have an MDA and mony (mono monitor), the going
rate is about $15 for a new MDA card (often with a printer port, and
often Herc compatible -- an MGP card, for mono, Herc-graphics,
printer-port). Mony displays are not that hard to find. Any used-parts
shop will have at least a few. Going rate for a mony in good condition
is about $30. Avoid, if you can, any monitor with burn-in (where you can
see stuff on the screen with the monitor off). Total hardware cost is
$45 or so, if you don't have it already, and total cost, with Mony, and
everything, is under $60.
Mony registration may be closed at any time, so if you plan on registering
"maybe later", be advised that Mony may no longer be available for sale at
a later time (you will get your order returned, however).
In no case may Mony be used as part of a program/package that is distributed.
The Mony license is for your use running on your single computer (or your
computers at you site if site licensed).
Installation
------------
MONY.SYS is an OS/2 device driver. It is installed by adding the line
DEVICE=MONY.SYS [-p#] [-q]
in the config.sys file (with appropriate path, if required). Option
switches are (use -, not /):
-p#
where # is the video pages desired, from 1 to 8 (default=1). To run the
monydemo.exe program, it's recommended that you set up 8 video pages (-p8).
-q
can be used to quiet the MONY.SYS install banner, in case you like to
look at the VGA OS/2 logo instead... The banner on the mony monitor
is always generated, and indicates that MONY.SYS installed correctly.
If you don't see anything on the mony monitor by the time you have
the desktop up and running, recheck your DEVICE= line and hardware/
connections.
Availability
------------
Current versions of MONY (filename mony_xxx.zip, where xxx is the
version number, as in mony_121.zip) can be found at:
Internet FTP: hobbes.nmsu.edu
/os2/drivers
CIS: OS2DF1
Device Drivers file area and elsewhere
Home sites: See below. These places -always- have the current releases.
Also check out AWACS. It's a real-time swap file, system, com port, and
caller-ID monitor, all rolled into one small program. It shows things
like swap file size, RAM total, free, idle, locked, resident, working set
(also graphics), CPU pulse, time, com port and modem status, and caller
ID info. AWACS*.ZIP.
...........................................................................
Toolkits [database] [sound] [utils] |cornel@crl.com
DOS Bullet 1.25 DOS Ruckus 1.21 | ftp://ftp.crl.com/users/co/cornel
Win3x Bullet 1.26 W95 Bullet 2.05 |http://www.crl.com/~cornel/
DOSX32 Bullet 2.05 OS/2 Bullet 2.05 |BBS:(210)684-8065